/*
*  Copyright 2019-2023 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.system.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.base.BasePage;

import javax.validation.constraints.NotNull;
import java.sql.Date;

/**
* @author yiwei.he
* @date 2024-04-07
**/
@Data
public class AddressDetailQueryCriteria{
    @ApiModelProperty(value = "自增id")
    private Long id;

    @NotNull
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @NotNull
    @ApiModelProperty(value = "用户名")
    private String username;

    @NotNull
    @ApiModelProperty(value = "手机号")
    private String phone;

    @NotNull
    @ApiModelProperty(value = "省/市/区")
    private String provinceCityRegion;
    
    @NotNull
    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "是否为默认地址【0：不默认 1：默认】")
    private Integer isDefault;

}